{{> header}}

<div class="main messages">
    <h6>未读消息</h6>
    {{#if unread.list.length}}
        <ul>
        {{#each unread.list}}
            <li>
                <span>{{time}}</span>
                <p>{{{title}}}</p>
            </li>
        {{/each}}
        </ul>
    {{else}}
        <div class="noData">没有数据。。。</div>
    {{/if}}

    <h6>过往消息</h6>
    {{#if read.list.length}}
        <ul>
            {{#each read.list}}
                <li>
                    <span>{{ago}}</span>
                    <p>{{{title}}}</p>
                </li>
            {{/each}}
        </ul>
    {{else}}
        <div class="noData">没有数据。。。</div>
    {{/if}}
</div>

<div class="det">
    {{>loginedSide}}
    {{>friendshipSide}}
</div>